package c_List;

import java.util.ArrayList;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package c_List
 * @date 2024/4/8 下午12:55
 */
public class Test02 {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
//要求删除1
        /*
        * remove(int index)
        * remove(Object o)
        * */
        list.remove(Integer.valueOf(1));
        System.out.println(list);
    }
}
